﻿@using Kendo.Mvc.UI
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title - ModernNet Email sender</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    @Styles.Render("~/Content/css")
    <link href="~/Content/bootstrap.min.css" rel="stylesheet" />
    <link href="~/Content/bootstrap-theme.min.css" rel="stylesheet" />
    <link href="/Content/web/kendo.common.min.css" rel="stylesheet">
    <link href="/Content/web/kendo.rtl.min.css" rel="stylesheet">
    <link href="/Content/web/kendo.default.min.css" rel="stylesheet">

    <link href="~/Content/Site.css" rel="stylesheet" />
    @Scripts.Render("~/bundles/modernizr")
    <script src="~/Scripts/jquery-1.9.1.min.js"></script>
    <script>
        function dataBound() {
            this.expandRow(this.tbody.find("tr.k-master-row").first());
        }
    </script>
</head>
<body class="k-rtl">
    <header>
        <div class="content-wrapper">
            <div class="float-left">
                <p class="site-title">@Html.ActionLink("ModernNet", "Index", "Home")</p>
            </div>
            <div class="float-right">
                <section id="login">
                    @Html.Partial("_LoginPartial")
                </section>
                <nav>
                     <ul id="menu">
                        <li>@Html.ActionLink("صفحه اصلی", "Index", "Home")</li>
                        <li>@Html.ActionLink("ارسال ایمیل", "Index", "SendEmail")</li>
                        <li>@Html.ActionLink("لیست ایمیل ها", "Index", "EmailAddress")</li>
                        <li>@Html.ActionLink("دسته بندی ها", "Index", "Category")</li>
                        <li>@Html.ActionLink("سرورهای ایمیل", "Index", "SmtpServer")</li>
                        <li>@Html.ActionLink("حساب های کاربری", "Index", "SmtpCredential")</li>
                    </ul>  
                </nav>
            </div>
        </div>
    </header>
    <div id="body">
        @RenderSection("featured", required: false)
        <section class="content-wrapper main-content clear-fix">
            @RenderBody()
        </section>
    </div>
    <footer>
        <div class="content-wrapper">
            <div class="float-left">
                <p>&copy; @DateTime.Now.Year - Modern Net</p>
            </div>
        </div>
    </footer>

    @Scripts.Render("~/bundles/jquery")

  
    <script src="@Url.Content("~/Scripts/sendEmail.js")" ></script>

    <script src="/Scripts/kendo.web.min.js"></script>
    <script src="/Scripts/kendo.aspnetmvc.min.js"></script>
    <script src="/Scripts/kendo.timezones.min.js"></script>

    <script src="/Scripts/console.js"></script>
    <script src="/Scripts/prettify.js"></script>

    <script src="/Scripts/cultures/kendo.culture.fa-IR.min.js"></script>

    <script>
        kendo.culture("fa-IR");
    </script>



    @RenderSection("scripts", required: false)
</body>
</html>
